<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>简介</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.mhash.html">Mhash</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mhash.setup.html">安装／配置</a></div>
 <div class="up"><a href="book.mhash.html">Mhash</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="intro.mhash" class="preface">
  <h1 class="title">简介</h1>
  <p class="para">
   These functions are intended to work with <a href="http://mhash.sourceforge.net/" class="link external">&raquo;&nbsp;mhash</a>. Mhash can be used to create checksums,
   message digests, message authentication codes, and more.
  </p>
  <p class="para">
   This is an interface to the mhash library. Mhash supports a wide
   variety of hash algorithms such as MD5, SHA1, GOST, and many
   others. For a complete list of supported hashes, refer to the
   <a href="mhash.constants.html" class="link">constants page</a>. The general rule is that you can access
   the hash algorithm from PHP with <strong><code>MHASH_hashname</code></strong>. For example, to
   access TIGER you use the PHP constant <strong><code>MHASH_TIGER</code></strong>.
  </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    This extension is obsoleted by <a href="book.hash.html" class="link">Hash</a>.
   </p>
  </p></blockquote>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.mhash.html">Mhash</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="mhash.setup.html">安装／配置</a></div>
 <div class="up"><a href="book.mhash.html">Mhash</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
